package com.jwinni.IO.DemoOutput;

import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;

public class demoInputStream {
    public static void main(String[] args) throws IOException {
        File file;
        FileInputStream fis= new FileInputStream("static/a.txt");
        byte[] bytes = new byte[1024];
        int lesn =0;
        while ((lesn=fis.read(bytes))!=-1){
            System.out.println(new String(bytes));
        }


        fis.close();

    }
}
